package com.kevin.spring.dto.event;

import org.springframework.stereotype.Component;

@Component
public class Course {

	public static final int MAX_CAPACITY = 7;
	private int capacity = 0;

	public Course() {
	}

	public int getCapacity() {
		return capacity;
	}

	public void addNewStudent() {
		this.capacity++;
	}
}
